package com.irs.service.impl;

import com.irs.mapper.BusinessOwnerCarMapper;
import com.irs.pojo.BusinessOwnerCar;
import com.irs.service.BusinessOwnerCarService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class BusinessOwnerCarServiceImpl implements BusinessOwnerCarService{

    @Resource
    private BusinessOwnerCarMapper businessOwnerCarDao;

    public int insert(BusinessOwnerCar pojo){
        return businessOwnerCarDao.insert(pojo);
    }

    public int insertList(List< BusinessOwnerCar> pojos){
        return businessOwnerCarDao.insertList(pojos);
    }

    public List<BusinessOwnerCar> select(BusinessOwnerCar pojo){
        return businessOwnerCarDao.select(pojo);
    }

    public int update(BusinessOwnerCar pojo){
        return businessOwnerCarDao.update(pojo);
    }

}
